package com.decent.text.pdf.test3;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.lang.reflect.Field;

/**
 * @author 王雪杰
 * @date 2021/11/13 15:12
 */
@RequestMapping("pdf3")
@RestController
public class ApiTest3 {
    @Resource
    private ExportPDF exportPdf;

    @RequestMapping("export")
    public void export(HttpServletRequest request, HttpServletResponse response) throws Exception {
        exportPdf.exportPdf(request, response);
    }


}
